package com.zjitc.service;

import com.zjitc.common.ServerResponse;
import com.zjitc.model.User;
import javax.servlet.http.HttpSession;

/**
 * Created by LWW on 2018/3/29.
 */
public interface UserService {
    ServerResponse<User> login(String username, String password);

  ServerResponse<User> register(User user);

  ServerResponse<User> check(String str, String type);

  ServerResponse<User> findAllUser(HttpSession session);

  ServerResponse<User> forget(User user);
}